package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserCapitalPassRequest {
    @ApiModelProperty("用户账号 邮箱/手机号")
    @NotBlank(message = "用户名不能为空")
    private String userAccount;

    @ApiModelProperty("登陆密码")
    @NotBlank(message = "登录密码不能为为空")
    private String pwd;

    @ApiModelProperty("验证码id")
    @NotNull(message = "验证码Id不能为空")
    private Long smsId;

    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码不能为为空")
    private String codes;
}
